home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / wb / czesc_2 / ml / man / dos / newshell < prev    next >
Text File  |  1993-01-23  |  3KB  |  73 lines

  1. NEWSHELL(1)                     DOS COMMANDS                     NEWSHELL(1)
  2.  
  3. NAME
  4.      NEWSHELL : To start a new Shell.
  5.  
  6. SYNOPSIS
  7.      NEWSHELL [<window requirements>] [FROM <startup file>]
  8.  
  9. TEMPLATE
  10.      NEWSHELL "Window, From"
  11.  
  12. PATH
  13.      C:
  14.  
  15. DESCRIPTION
  16.            NEWSHELL starts a new SHELL process. Each SHELL has its own STACK
  17.      and its own priority. These values are passed to any programs started
  18.      directly from the SHELL or launched in the background with the RUN
  19.      command. NEWSHELL can perform input and output to and from any AmigaDOS
  20.      device. By default, NEWSHELL will open a NEWCON: window, but it is
  21.      possible to set the parameters for the NEWCON: window (position, size,
  22.      title) and it is also possible to use any device that can perform input
  23.      and output at the same time. For example, the AUX: device can be used to
  24.      execute command from a terminal connected to the serial port.
  25.            Before the prompt appears on the console window, NEWSHELL executes
  26.      the file S:Shell-Startup (if it exists). This is useful to set a few
  27.      parameters automatically, like the stack size for example, or even to
  28.      go to a given directory.
  29.            Every shell has its own set of aliases, but share resident
  30.      commands. To make aliases defined in every shell, the trick is to define
  31.      them in the Shell-startup file.
  32.            The SHELL has also a 2k circular buffer that retains the last
  33.      commands.
  34.            Here is a short description of the editing facilities in the
  35.      SHELL window:
  36.      <cursor up> : retrieved 1 line of command backward.
  37.      <cursor down> : retrieved 1 line of command forward.
  38.      <left cursor> : move 1 character to the left on command line.
  39.      <right cursor> : move 1 character to the right on command line.
  40.      <shift cursor up> : search partial string in history commands.
  41.      <CTRL-X> or <shift cursor down> : clear current line.
  42.      <CTRL-A> or <shift cursor left> : move to start of command line.
  43.      <CTRL-Z> or <shift cursor right> : move to end of command line.
  44.      <CTRL-K> : delete everything from cursor to end of line.
  45.      <CTRL-U> : delete everything from cursor to start of line.
  46.  
  47. OPTIONS
  48.       WINDOW: by default, NEWSHELL open a NEWCON: window of fixed size
  49.             and position. With this option it is possible to specify the
  50.             size and position of the window to use, as well as any AmigaDOS
  51.             device. The option is typically of the form:
  52.             NEWCON:Left/Top/Width/Height/Title
  53.             where Left,Top,Width and Height are expressed in pixel, and title
  54.             is the Window title. If a terminal is connected to the serial
  55.             port,
  56.             > NEWSHELL AUX:
  57.             starts a CLI that will perform its input and output through the
  58.             serial port.
  59.  
  60.      FROM: by default, NEWSHELL looks for a script file called
  61.             S:SHELL-Startup. The script file is automatically executed before
  62.             the prompt appears on the console window. With this option,
  63.             NEWSHELL uses another file as its startup file.
  64.             A startup file is useful to set some parameters automatically,
  65.             like the stack size for example.
  66.  
  67. SEE ALSO
  68.      NEWCLI, ENDSHELL, STATUS.
  69.  
  70. EXAMPLES
  71.      > NEWSHELL  NEWCON:0/0/600/150/My_Shell
  72.      > NEWSHELL  FROM s:First_Shell
  73.